const path = require('path')

const resolve = dir => path.resolve(__dirname, dir)

module.exports = {
  webpack: {
    alias: {
      '@': resolve('src'),
    },
    plugins: () => [
      require('postcss-pxtorem')({
        rootValue: 37.5,
        selectorBlackList: [], //过滤
        propList: ['*'],
      }),
    ],
  },
}
